package container

import "time"

type prevNetStats struct {
	Sent uint64
	Recv uint64
}

type Stats struct {
	Name        string       `json:"n"`
	Cpu         float64      `json:"c"`
	Mem         float64      `json:"m"`
	NetworkSent float64      `json:"ns"`
	NetworkRecv float64      `json:"nr"`
	PrevCpu     [2]uint64    `json:"-"`
	PrevNet     prevNetStats `json:"-"`
	PrevRead    time.Time    `json:"-"`
}
